package com.party.core.model.crowdfund;

import com.party.core.model.BaseModel;

import java.util.Date;

/**
 * @Author: huangzequn
 * @Date: 2019/3/19 17:07
 * 众筹一个主题多场活动  实体
 */
public class ProjectGradation extends BaseModel {
    // 默认筹满时间
    public static final String DEFAULT_SUCCESS_TIME = "1970-01-01";

    public ProjectGradation() {
    }

    public ProjectGradation(String projectId, String eventGradationId) {
        this.projectId = projectId;
        this.eventGradationId = eventGradationId;
    }

    //主题阶段id
    private String eventGradationId;
    //众筹id
    private String projectId;
    //阶段筹满时间
    private Date successTime;
    //参赛状态（成功了才能标记）1：已参赛 0：未参赛'
    private Integer competitionStatus;
    //目标金额
    private Double targetAmount;
    //众筹用时
    private Long useTime;

    //个人排行榜返回字段  累计金额  数据库没有
    private Double actualAmount;
    //个人排行榜返回字段  支持人数  数据库没有
    private Integer favorerNum;
    //用户头像  用来返回前端的  数据库没有
    private String logo;
    //用户名  用来返回前端的  数据库没有
    private String realname;
    //排名  用来返回前端的  数据库没有
    private Integer ranking;
    //同行戈友返回字段  阶段目标金额  数据库没有
    private Double sumTargetAmount;
    //阶段数  用来返回前端的 数据库没有
    private Integer gradation;
    //阶段百分比
    private Integer percentage;

    public Integer getPercentage() {
        return percentage;
    }

    public void setPercentage(Integer percentage) {
        this.percentage = percentage;
    }

    public Integer getGradation() {
        return gradation;
    }

    public void setGradation(Integer gradation) {
        this.gradation = gradation;
    }

    public Double getSumTargetAmount() {
        return sumTargetAmount;
    }

    public void setSumTargetAmount(Double sumTargetAmount) {
        this.sumTargetAmount = sumTargetAmount;
    }

    public Double getActualAmount() {
        return actualAmount;
    }

    public void setActualAmount(Double actualAmount) {
        this.actualAmount = actualAmount;
    }

    public Integer getFavorerNum() {
        return favorerNum;
    }

    public void setFavorerNum(Integer favorerNum) {
        this.favorerNum = favorerNum;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public Integer getRanking() {
        return ranking;
    }

    public void setRanking(Integer ranking) {
        this.ranking = ranking;
    }

    public String getEventGradationId() {
        return eventGradationId;
    }

    public void setEventGradationId(String eventGradationId) {
        this.eventGradationId = eventGradationId;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public Date getSuccessTime() {
        return successTime;
    }

    public void setSuccessTime(Date successTime) {
        this.successTime = successTime;
    }

    public Integer getCompetitionStatus() {
        return competitionStatus;
    }

    public void setCompetitionStatus(Integer competitionStatus) {
        this.competitionStatus = competitionStatus;
    }

    public Double getTargetAmount() {
        return targetAmount;
    }

    public void setTargetAmount(Double targetAmount) {
        this.targetAmount = targetAmount;
    }

    public Long getUseTime() {
        return useTime;
    }

    public void setUseTime(Long useTime) {
        this.useTime = useTime;
    }
}
